class @Loading

    @myCursor: null

    @Start: ->
        Loading.myCursor.show()

    @Stop: ->
        Loading.myCursor.hide()

    $(document).ready( ->
        html = $('html')
        src = Settings.CursorPath
        html.append("<img style='position:absolute;cursor:none;display:none;' id='mycursor' src='#{src}' />")
        Loading.myCursor = $('#mycursor')

        html.mousemove((e) =>
            Loading.myCursor.css('left', e.clientX - 1).css('top', e.clientY + 1)
        )
    )
